# -*- coding:utf-8 -*-

__author__ = "boboxu"

'''
@unique 自动检查枚举是否重复
'''

from enum import Enum, unique

@unique
class EventType(Enum):
    EVENT_TIMER = "event_timer"  # 计时器，计时
    EVENT_ORDER = "event_order"  # 命令
    EVENT_RISK_MANAGEMENT = "event_risk_management"  # 风险管理
    EVENT_DEAL = "event_deal"  # 交易
    EVENT_SAVE_RECORD = "event_save_record"  # 
    EVENT_MARKET = "event_market"  # 市场，行情
    EVENT_HANDLE_BAR = "event_handle_bar"  # 
    EVENT_LOG = "event_log"  # 日志
    EVENR_ERROR = "event_error"  # 错误
    EVENT_BACKTESTING_ANALYSIS = "event_backtesting_analysis"  # 
    EVENT_ONLINE = "event_online"  # 在线，联机
